import {baseRequest} from '@/utils/request'

const request = (url, ...arg) => baseRequest(`/tjzy/sms/template/` + url, ...arg)
export default {
	pageList(data) {
		return request('pageList', data, 'post')
	},
	list(data) {
		return request('list', null, 'get')
	},
	addOrEdit(data) {
		return request('addOrEdit', data, 'post')
	},
	del(id) {
		return request('del/' + id, '', 'get')
	}
}
